/*
*  Copyright 2019-2023 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.biz.domain;

import lombok.Data;
import cn.hutool.core.bean.BeanUtil;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.bean.copier.CopyOptions;
import java.sql.Timestamp;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
* @description /
* @author yiwei.he
* @date 2024-03-11
**/
@Data
@TableName("tz_enroll_single")
public class EnrollSingle implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "自增id")
    private Long id;

    @ApiModelProperty(value = "办学性质")
    private Integer uquality;

    @ApiModelProperty(value = "办学层次【本科/专科】")
    private Integer utype;

    @ApiModelProperty(value = "学校名称")
    private String uname;

    @ApiModelProperty(value = "说明")
    private String remark;

    @ApiModelProperty(value = "普高（院校招生计划）")
    private Integer hplan;

    @ApiModelProperty(value = "中职（院校招生计划）")
    private Integer vplan;

    @ApiModelProperty(value = "合计（院校招生计划）")
    private Integer totalPlan;

    @ApiModelProperty(value = "总分【普高】")
    private Double grossScore;

    @ApiModelProperty(value = "文化线【普高】")
    private Double cultureLine;

    @ApiModelProperty(value = "通用线【普高】")
    private Double generalLine;

    @ApiModelProperty(value = "上线分数【普高】")
    private Double minimumScore;

    @ApiModelProperty(value = "计划数【普高】")
    private Integer planNumber;

    @ApiModelProperty(value = "录取率【普高】")
    private Double acceptanceRate;

    @ApiModelProperty(value = "成绩比例【普高】")
    private Double gradeRate;

    @ApiModelProperty(value = "预测分数【普高】")
    private Double predictedScore;

    @ApiModelProperty(value = "分数差值【普高】")
    private Double scoreDifference;

    @ApiModelProperty(value = "文化线（中职）")
    private Double vcultureLine;

    @ApiModelProperty(value = "通用线（中职）")
    private Double vgeneralLine;

    @ApiModelProperty(value = "上线分数（中职）")
    private Double vminimumScore;

    @ApiModelProperty(value = "计划数（中职）")
    private Integer vplanNumber;

    @ApiModelProperty(value = "录取率（中职）")
    private Double vacceptanceRate;

    @ApiModelProperty(value = "成绩比例（中职）")
    private Double vgradeRate;

    @ApiModelProperty(value = "预测分数（中职）")
    private Double vpredictedScore;

    @ApiModelProperty(value = "分数差值（中职）")
    private Double vscoreDifference;

    @ApiModelProperty(value = "删除【0：未删除，1已删除】")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    public void copy(EnrollSingle source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
